From b154abd6608ecd64916fdfeea70eb72e1f9686df Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Thu, 30 Apr 2026 03:44:57 +0200 Subject: [PATCH] keyboardManager: Use layout id when reapplying `_doApply()` expects the id rather than the layout info itself. Passing the layout info caused the lookup to fail and the function to exit early. This was preventing `xkb-option` or `xkb-model` settings from applying when changed. Fixes: 0f9034687 ("status/keyboard: Adapt to external source of keyboard layout") Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9197 Part-of: --- js/misc/keyboardManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/misc/keyboardManager.js b/js/misc/keyboardManager.js index 5724156e1..a0cea79b1 100644 --- a/js/misc/keyboardManager.js +++ b/js/misc/keyboardManager.js @@ -130,7 +130,7 @@ class KeyboardManager extends Signals.EventEmitter { if (!this._current) return; - this._doApply(this._current).catch(logError); + this._doApply(this._current.id).catch(logError); } setUserLayouts(ids) { -- 2.39.5